package com.his.struts.form.diseaseInfo;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
 * 信息病例的生活方式
 * @author liumiaoyue
 *
 */
public class LivingForm extends ActionForm {
	
	private Integer smoke_etime;//戒烟时间多少岁

	private Integer mouth;//每日刷牙数量（一次---1，两次---2，两次以上---3，不刷牙----4）

	private Integer potation_type;//饮酒类型（白酒大于42---1，白酒小于42---2,啤酒---3，黄酒，糯米酒---4，葡萄酒----5，其他---6）

	private Integer potation_eage;//戒酒时多少岁

	private Integer potation_age;//开始饮酒多少岁

	private Integer potation_times;//饮酒频率（每天---1,5-6天/周---2，3-4天/周---3,1-2天/周---4,1-2天/月---5，小于1天/月---6）

	private Integer work;//职业（中体力劳动----1，脑力劳动---2，重体力劳动---3）

	private Integer potation_agonum;//以往饮酒多少瓶

	private Integer potation_num;//饮酒多少瓶

	private String potation_agonumber;//以往饮酒名字

	private Integer smoke_num;//一天吸多少支烟

	private Integer smoke_btime;//开始吸烟多少岁

	private Integer passivism;//负性生活事件（一年之内住院---1，丧偶---2，失去亲人---3，子女分家生活---4，目前独居---5，其他---6）

	private Integer smoke_yn;//是否吸烟（是的，每天---1，是的，但不是每天---2，过去吸，现在没---3，从不---4）

	private String smoke_cause;//吸烟原因

	private String potation_name;//饮酒名字

	private Integer potation_ago;//以前饮酒品种（白酒大于42---1，白酒小于42---2,啤酒---3，黄酒，糯米酒---4，葡萄酒----5，其他---6）

	/**
	 * Method validate 验证数据是否正确
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/**
	 * Method reset 重置
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public Integer getSmoke_etime() {
		return smoke_etime;
	}

	public void setSmoke_etime(Integer smoke_etime) {
		this.smoke_etime = smoke_etime;
	}

	public Integer getMouth() {
		return mouth;
	}

	public void setMouth(Integer mouth) {
		this.mouth = mouth;
	}

	public Integer getPotation_type() {
		return potation_type;
	}

	public void setPotation_type(Integer potation_type) {
		this.potation_type = potation_type;
	}

	public Integer getPotation_eage() {
		return potation_eage;
	}

	public void setPotation_eage(Integer potation_eage) {
		this.potation_eage = potation_eage;
	}

	public Integer getPotation_age() {
		return potation_age;
	}

	public void setPotation_age(Integer potation_age) {
		this.potation_age = potation_age;
	}

	public Integer getPotation_times() {
		return potation_times;
	}

	public void setPotation_times(Integer potation_times) {
		this.potation_times = potation_times;
	}

	public Integer getWork() {
		return work;
	}

	public void setWork(Integer work) {
		this.work = work;
	}

	public Integer getPotation_agonum() {
		return potation_agonum;
	}

	public void setPotation_agonum(Integer potation_agonum) {
		this.potation_agonum = potation_agonum;
	}

	public Integer getPotation_num() {
		return potation_num;
	}

	public void setPotation_num(Integer potation_num) {
		this.potation_num = potation_num;
	}

	public String getPotation_agonumber() {
		return potation_agonumber;
	}

	public void setPotation_agonumber(String potation_agonumber) {
		this.potation_agonumber = potation_agonumber;
	}

	public Integer getSmoke_num() {
		return smoke_num;
	}

	public void setSmoke_num(Integer smoke_num) {
		this.smoke_num = smoke_num;
	}

	public Integer getSmoke_btime() {
		return smoke_btime;
	}

	public void setSmoke_btime(Integer smoke_btime) {
		this.smoke_btime = smoke_btime;
	}

	public Integer getPassivism() {
		return passivism;
	}

	public void setPassivism(Integer passivism) {
		this.passivism = passivism;
	}

	public Integer getSmoke_yn() {
		return smoke_yn;
	}

	public void setSmoke_yn(Integer smoke_yn) {
		this.smoke_yn = smoke_yn;
	}

	public String getSmoke_cause() {
		return smoke_cause;
	}

	public void setSmoke_cause(String smoke_cause) {
		this.smoke_cause = smoke_cause;
	}

	public String getPotation_name() {
		return potation_name;
	}

	public void setPotation_name(String potation_name) {
		this.potation_name = potation_name;
	}

	public Integer getPotation_ago() {
		return potation_ago;
	}

	public void setPotation_ago(Integer potation_ago) {
		this.potation_ago = potation_ago;
	}
}